﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：商城首页
  //创建人：赵国伟
  //生成时间：2012/03/17 16:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class index : BasePage
{
    protected List<CategoryMenu> categories; //商品类别信息；
    protected DataTable rushGoods; //首页抢购的商品；
    protected URLManage bllUrl = new URLManage();


    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            CategoriesManage bllCategory = new CategoriesManage();
            categories = bllCategory.GetCategoryMenu(); //加载商品分类信息；

            CommendManage bllCommend = new CommendManage();
            rushGoods = bllCommend.GetRushCommends(2, 30);

        }
    }


}